<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1" />
<title></title>
<link rel="stylesheet" type="text/css" href="../css/base.css?v2.0.11" >
<link rel="stylesheet" type="text/css" href="../css/sctouch_common.css?v2.0.11" >
  <link rel="stylesheet" type="text/css" href="../css/sctouch_cart.css?v2.0.11" >
  <link rel="stylesheet" type="text/css" href="../css/mui/mui.css?v2.0.11">
  <link rel="stylesheet" type="text/css" href="../css/sctouch_member.css?v2.0.11" >

</head>
<body>
<header id="header" class="fixed">
  <div class="header-wrap">
    <div class="header-l"> <a id="returnOK"><i class="back iconfont"></i> </a> </div>
    <div class="header-title">
      <h1><lang data-id="confirmation_order"></lang></h1>
    </div>
    <div class="header-r">  </div>
  </div>
  <div class="sctouch-nav-layout">
    <div class="sctouch-nav-menu"> <span class="arrow"></span>
      <ul>
        <li><a class="open-url" data-url="../mall/index.html"><i class="iconfont home"></i><lang data-id="home"></lang></a></li>
        <li><a class="open-url" data-url="../mall/search.html"><i class="iconfont search"></i><lang data-id="search"></lang></a></li>
        <li><a class="open-url" data-url="../mall/product_first_categroy.html"><i class="iconfont categroy"></i><lang data-id="classification"></lang></a></li>
        <li><a class="open-url" data-url="../mall/cart_list.html"><i class="iconfont cart"></i><lang data-id="cart"></lang><sup></sup></a></li>
        <li><a class="open-url" data-url="../member/member.html"><i class="iconfont member"></i><lang data-id="my_business_city"></lang></a></li>
      </ul>
    </div>
  </div>
</header>
<div id="container-fcode" class="hide">
  <div class="fcode-bg">
    <div class="con">
      <h3><lang data-id="purchase_hints_one"></lang>“F码”<lang data-id="commodity"></lang></h3>
      <h5><lang data-id="input_prompt_one"></lang><br/>
        <lang data-id="input_prompt_two"></lang></h5>
      <input type="text" name="fcode" id="fcode" placeholder="" />
      <p class="fcode_error_tip" style="display:none;color:red;"></p>
      <a class="submit"><lang data-id="submission_verification"></lang></a> </div>
  </div>
</div>
<div class="sctouch-main-layout mb20">
    <div class="sctouch-cart-block">
      <div class="block-area bbc-address_notice">
          <div class="address-custom-notice"><i class="iconfont">&#xe626;</i>政策提醒：如果跨境订单订购人和支付人信息不一致，将会影响订单通关</div>
      </div>
      <!--正在使用的默认地址Begin-->
      <div class="sctouch-cart-add-default address-type address-type-2 store-receive-wrap mui-hidden" id="new-address-valve-2">
        <div class="store-receive-info">
          <dl>
            <a class="address_icon" style="position: absolute;margin-left: -1.2rem;"><i class="iconfont">&#xe666;</i></a>
            <dt><span class="title"><sub class="is-realname">门店自提</sub></span> <span class="store_receive_username"></span> <span class="store_receive_mobile"></span></dt>
            <dd class="store-receive-address"></dd>
          </dl>
          <i class="edit iconfont">&#xe603;</i>
        </div>
      </div>
      <div class="sctouch-cart-add-default address-type address-type-1 active">
        <div id="list-address-valve">
          <dl>
            <a class="address_icon" style="position: absolute;margin-left: -1.2rem;"><i class="iconfont">&#xe666;</i></a>
            <dt>
                <span><sub class="is-realname color-blue">送货到家</sub></span>
                <span id="vtrue_name"></span><span id="vmob_phone"></span></dt>
            <dd><span id="vaddress" style="padding-left: 8px;">请选择收件地址</span></dd>
          </dl>
          <i class="icon-arrow iconfont"></i></div>
      </div>
    <!--正在使用的默认地址End-->
  </div>
  <!--选择优惠券Begin-->
  <div id="list-voucher-wrapper" class="sctouch-full-mask hide">
    <div class="sctouch-full-mask-bg"></div>
    <div class="sctouch-full-mask-block">
      <div class="header">
        <div class="header-wrap">
          <div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>
          <div class="header-title" >
            <h1>选择优惠券</h1>
          </div>
          <div class="header-r"></div>
        </div>
      </div>
      <div class="sctouch-main-layout" id="list-voucher-scroll">
        <div class="sctouch-tickets" id="voucher-list">
        </div>
        <div id="voucher_none" class="mt10 voucher-choose" data-voucher_id=""> <div class="btn-l">不使用优惠券</div> </div>
      </div>
    </div>
  </div>
  <!--选择优惠券End-->
  <!--选择收货地址Begin-->
  <div id="list-address-wrapper" class="sctouch-full-mask hide">
    <div class="sctouch-full-mask-bg"></div>
    <div class="sctouch-full-mask-block">
      <div class="header">
        <div class="header-wrap">
          <div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>
          <div class="header-title" >
            <h1><lang data-id="receiving_address_management"></lang></h1>
          </div>
          <div class="header-r"></div>
        </div>
      </div>
      <div class="sctouch-main-layout" id="list-address-scroll">
        <ul class="sctouch-cart-add-list" id="list-address-add-list-ul">
        </ul>
        <div id="addresslist" class="mt10"> <div class="btn-l" id="new-address-valve"><lang data-id="new_receipt_address"></lang></div> </div>
      </div>
    </div>
  </div>
  <!--选择收货地址End-->
  <!--新增收货地址Begin-->
  <div id="new-address-wrapper" class="sctouch-full-mask hide">
    <div class="sctouch-full-mask-bg"></div>
    <div class="sctouch-full-mask-block">
      <div class="header">
        <div class="header-wrap">
          <div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>
          <div class="header-title">
            <h1><lang data-id="new_receipt_address"></lang></h1>
          </div>
          <div class="header-r"></div>
        </div>
      </div>
      <div class="sctouch-main-layout" id="new-address-scroll">
        <div class="sctouch-inp-con">
          <form id="add_address_form">
            <div class="address-custom-notice">政策提醒：如果跨境订单订购人和支付人信息不一致，将会影响订单通关</div>
            <ul class="form-box">
              <li class="form-item">
                <div class="smart-parse">
                  <div class="clip-title">地址自动识别
                  </div>
                  <textarea class="clip-content" placeholder="粘贴完整地址，自动识别。如：“深圳市南山区科技园南区 赵首乾 342201198802083654 15000000000”"></textarea>
                </div>
              </li>

              <li class="form-item trade_mode-2">
                <h4>订购人</h4>
                <div class="input-box">
                  <input type="text" class="inp" name="real_name" id="real_name" placeholder="请输入订购人" autocomplete="off" oninput="writeClear($(this));"/>
                </div>
              </li>

              <li class="form-item trade_mode-2 trade_mode-3">
                <h4><lang data-id="id_card_no"></lang></h4>
                <div class="input-box">
                  <input type="text" class="inp" name="id_card_no" id="id_card_no" placeholder="请输入身份证号" autocomplete="off" oninput="writeClear($(this));">
                </div>
              </li>
              <li class="form-item">
                <h4><lang data-id="consignee_name"></lang></h4>
                <div class="input-box">
                  <input type="text" class="inp" name="true_name" id="true_name" autocomplete="off" placeholder="请输入收件人" oninput="writeClear($(this));"/>
                  <span class="input-del"></span> </div>
              </li>
              <li class="form-item">
                <h4><lang data-id="contact_phone"></lang></h4>
                <div class="input-box">
                  <input type="tel" class="inp" name="mob_phone" id="mob_phone" autocomplete="off" placeholder="请输入联系手机" oninput="writeClear($(this));"/>
                  <span class="input-del"></span> </div>
              </li>
              <li class="form-item store-receive-hide">
                <h4><lang data-id="regional_selection"></lang></h4>
                <div class="input-box">
                  <input name="area_info" type="text" class="inp" id="area_info" autocomplete="off" placeholder="请选择收件区域" onChange="btn_check($('form'));" readonly/>
                </div>
              </li>
              <li class="form-item store-receive-hide">
                <h4><lang data-id="detailed_address"></lang></h4>
                <div class="input-box">
                  <!--<input type="text" class="inp" name="address" id="address" autocomplete="off" oninput="writeClear($(this));" onkeyup="local.search($(this).val());" />-->
                  <input type="text" class="inp" name="address" id="address" autocomplete="off" placeholder="请输入详细地址" oninput="writeClear($(this));" />
                  <div id="mymap"></div>
                  <input type="hidden" name="longitude" id="longitude">
                  <input type="hidden" name="latitude" id="latitude">
                  <span class="public-pos"></span>
                  <span class="input-del"></span> </div>
              </li>
              <li class="form-item trade_mode-3">
                <h4><lang data-id="id_card_front"></lang></h4>
                <div class="input-box">
                  <div class="sctouch-upload "> <a ><span>
              <input type="file" hidefocus="true" size="1" class="input-file" id="id_card_front" name="id_card" >
              </span>
                    <p><i class="icon-upload id_card_front"></i></p>
                  </a>
                    <input type="hidden" name="refund_pic[0]" value="" class="img_1">
                  </div>
                </div>
              </li>
              <li class="form-item trade_mode-3">
                <h4><lang data-id="id_card_back"></lang></h4>
                <div class="input-box">
                  <div class="sctouch-upload"> <a ><span>
              <input type="file" hidefocus="true" size="1" class="input-file" id="id_card_back" name="id_card" id="">
              </span>
                    <p><i class="icon-upload id_card_back"></i></p>
                  </a>
                    <input type="hidden" name="refund_pic[0]" value="" class="img_2">
                  </div>
                </div>
              </li>
            </ul>
            <div class="form-btn ok">
              <input type="hidden" id="address_id" value="">
              <a class="btn"><lang data-id="save_address"></lang></a>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
  <!--新增收货地址End-->
  <!--新增收货地址Begin-->
  <div id="new-address-wrapper-2" class="sctouch-full-mask hide">
    <div class="sctouch-full-mask-bg"></div>
    <div class="sctouch-full-mask-block">
      <div class="header">
        <div class="header-wrap">
          <div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>
          <div class="header-title">
            <h1>门店自提</h1>
          </div>
          <div class="header-r"></div>
        </div>
      </div>
      <div class="sctouch-main-layout" id="new-address-scroll-2">
        <div class="sctouch-inp-con">
          <form id="add_address_form-2">
            <ul class="form-box">
              <li class="form-item">
                <div class="store-address-notice">
                  门店地址：<span class="store-receive-address"></span>
                </div>
              </li>
              <li class="form-item">
                <h4><lang data-id="consignee_name"></lang></h4>
                <div class="input-box">
                  <input type="text" class="inp" id="store_receive_true_name" autocomplete="off" placeholder="请输入收件人" oninput="writeClear($(this));"/>
                  <span class="input-del"></span> </div>
              </li>
              <li class="form-item">
                <h4><lang data-id="contact_phone"></lang></h4>
                <div class="input-box">
                  <input type="tel" class="inp" id="store_receive_mob_phone" autocomplete="off" placeholder="请输入联系手机" oninput="writeClear($(this));"/>
                  <span class="input-del"></span> </div>
              </li>
            </ul>
            <div class="form-btn ok"><a class="btn">确定</a></div>
          </form>
        </div>
      </div>
    </div>
  </div>
  <!--新增收货地址End-->

  <!--付款方式Begin-->
  <div class="sctouch-cart-block mt5" style="display: block"> <a class="posr" id="select-payment-valve">
    <h3><i class="pay iconfont"></i>付款方式</lang> ：</h3>
    <div class="current-con">在线支付</div>
    <i class="icon-arrow iconfont"></i> </a> </div>
  <!--付款方式End-->

  <!--选择付款方式Begin-->
  <div id="select-payment-wrapper" class="sctouch-full-mask hide">
    <div class="sctouch-full-mask-bg"></div>
    <div class="sctouch-full-mask-block">
      <div class="header">
        <div class="header-wrap">
          <div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>
          <div class="header-title">
            <h1><lang data-id="choose_payment_method"></lang></h1>
          </div>
          <div class="header-r"></div>
        </div>
      </div>
      <div class="sctouch-main-layout">
        <div class="sctouch-sel-box">
          <h4 class="tit"><lang data-id="payment_methods"></lang></h4>
          <div class="sel-con"> <a class="sel" id="payment-online"><lang data-id="online_payment"></lang></a> <a style="display:none;" id="payment-offline"><lang data-id="cash_on_delivery"></lang></a></div>
        </div>
      </div>
    </div>
  </div>
  <!--选择付款方式End-->

  <!--发票信息Begin-->
  <!--<div class="sctouch-cart-block mt5" style="display: block;"> <a class="posr" id="invoice-valve">-->
    <!--<h3><i class="invoice iconfont"></i><lang data-id="invoice_information"></lang> ：</h3>-->
    <!--<div class="current-con">-->
      <!--<p id="invContent"><lang data-id="no_invoice_required"></lang></p>-->
    <!--</div>-->
    <!--<i class="icon-arrow iconfont"></i> </a> </div>-->
  <!--&lt;!&ndash;发票信息End&ndash;&gt;-->

  <!--&lt;!&ndash;管理发票信息Begin&ndash;&gt;-->
  <!--<div id="invoice-wrapper" class="sctouch-full-mask hide">-->
    <!--<div class="sctouch-full-mask-bg"></div>-->
    <!--<div class="sctouch-full-mask-block">-->
      <!--<div class="header">-->
        <!--<div class="header-wrap">-->
          <!--<div class="header-l"> <a ><i class="back iconfont"></i> </a> </div>-->
          <!--<div class="header-title">-->
            <!--<h1><lang data-id="managing_invoice_information"></lang></h1>-->
          <!--</div>-->
          <!--<div class="header-r"></div>-->
        <!--</div>-->
      <!--</div>-->
      <!--<div class="sctouch-main-layout">-->
        <!--<div class="sctouch-sel-box">-->
          <!--<h4 class="tit"><lang data-id="if_invoices"></lang></h4>-->
          <!--<div class="sel-con"> <a class="sel" id="invoice-noneed"><lang data-id="no_invoice_required"> </lang></a> <a id="invoice-need"><lang data-id="need_invoices"></lang></a></div>-->
        <!--</div>-->
        <!--<div id="invoice-div" class="">-->
          <!--<ul id="invoice-list" class="sctouch-sel-list">-->
          <!--</ul>-->
          <!--<div class="sctouch-inp-con" id="invoice_add" style="display:none">-->
            <!--<ul class="form-box">-->
              <!--<li class="form-item">-->
                <!--<h4><lang data-id="invoice_type"></lang></h4>-->
                <!--<div class="input-box btn-style">-->
                  <!--<label class="checked">-->
                    <!--<input type="radio" checked="checked" name="invoice_title_select" value="person" id="person" >-->
                    <!--<lang data-id="personal"></lang> </label>-->
                  <!--<label>-->
                    <!--<input type="radio" name="invoice_title_select" value="company" id="company">-->
                    <!--<lang data-id="company"></lang> </label>-->
                <!--</div>-->
              <!--</li>-->
              <!--<li class="form-item" id="inv-title-li" style="display:none;">-->
                <!--<h4><lang data-id="invoices_are_raised"></lang></h4>-->
                <!--<div class="input-box">-->
                  <!--<input type="text" class="inp" name="invoice_title" placeholder="输入个人或企业名称">-->
                  <!--<span class="input-del"></span> </div>-->
              <!--</li>-->
              <!--<li class="form-item" id="inv-code-li" style="display:none;">-->
                <!--<h4><lang data-id="tax_identification_number"></lang></h4>-->
                <!--<div class="input-box">-->
                  <!--<input type="text" class="inp" name="invoice_code" placeholder="输入纳税人识别号">-->
                  <!--<span class="input-del"></span> </div>-->
              <!--</li>-->
              <!--<li class="form-item">-->
                <!--<h4><lang data-id="invoice_content"></lang></h4>-->
                <!--<div class="input-box">-->
                  <!--<select id="inc_content" name="invoice_content" class="select">-->
                  <!--</select>-->
                  <!--<i class="arrow-down iconfont"></i> </div>-->
              <!--</li>-->
            <!--</ul>-->
          <!--</div>-->
          <!--<a class="btn-l mt10"><lang data-id="sure"></lang></a> </div>-->
      <!--</div>-->
    <!--</div>-->
  <!--</div>-->
  <!--管理发票信息End-->

  <!--商品列表Begin-->
  <div id="goodslist_before" class="mt5">
    <div id="deposit"> </div>
  </div>
  <!--商品列表End-->


  <!--底部总金额固定层Begin-->
  <div class="sctouch-cart-bottom">
    <div class="total"><span id="online-total-wrapper"></span>
      <dl class="total-money">
        <dt><lang data-id="total_sum"></lang>：</dt>
        <dd>￥<em id="totalPrice"></em></dd>
      </dl>
    </div>
    <div class="check-out"><a id="ToBuyStep2"><lang data-id="place_order"></lang></a></div>
  </div>
  <!--底部总金额固定层End-->
  <div class="sctouch-bottom-mask">
    <div class="sctouch-bottom-mask-bg"></div>
    <div class="sctouch-bottom-mask-block">
      <div class="sctouch-bottom-mask-top">
        <p class="sctouch-cart-num"><lang data-id="online_payment_needed"></lang><em id="onlineTotal">0.00</em><lang data-id="element"></lang></p>
        <p style="display:none" id="isPayed"></p>
        <a id="returnClose" class="sctouch-bottom-mask-close"><i></i></a> </div>
      <div class="sctouch-inp-con sctouch-inp-cart">
        <ul class="form-box" id="internalPay">
          <p class="rpt_error_tip" style="display:none;color:red;"></p>
          <li class="form-item" id="wrapperUseRCBpay">
            <div class="input-box pl5">
              <label>
                <input type="checkbox" class="checkbox" id="useRCBpay" autocomplete="off" />
                <lang data-id="recharge_card_payment"></lang> <span class="power"><i></i></span> </label>
              <p><lang data-id="available_recharge_card_balances"></lang> ￥<em id="availableRcBalance"></em></p>
            </div>
          </li>
          <li class="form-item" id="wrapperUsePDpy">
            <div class="input-box pl5">
              <label>
                <!-- <input type="checkbox" class="checkbox" name="usepdpy" id="usePDpy" autocomplete="off" /> -->
                <lang data-id="pre_deposit_payments"></lang> <span class="power"><i></i></span> </label>
              <p><lang data-id="available_deposit_balance"></lang> ￥<em id="availablePredeposit"></em></p>
            </div>
          </li>
          <li class="form-item" id="wrapperPaymentPassword" style="display:none;position: relative;">
            <div class="input-box"> <span class="txt"><lang data-id="input_payment_password"></lang></span>
              <input type="password" class="inp" style="float: none;" id="paymentPassword" placeholder="默认为登录密码" autocomplete="off" />
              <span class="input-del"></span> </div>
            <a href="../member/member_paypwd_step1.html" class="input-box-help" style="display:none"><i>i</i>尚未设置</a> </li> </li>
        </ul>
        <div class="sctouch-pay">
          <div class="spacing-div"><span><lang data-id="online_payment_method"></lang></span></div>
          <div class="pay-sel" id="pay-sel">
            <script type="text/html" id="pay-sel-tmpl">
              <%if(payment_list.length > 0) {%>
              <%for(var p = 0;p < payment_list.length;p++){%>
              <label style="display:none">
                <input type="radio" name="payment_code" class="checkbox" id="<%=payment_list[p]%>" autocomplete="off" />
                <span class="<%=payment_list[p]%>"><%=payment_list[p]%></span></label>
              <%}}%>
            </script>
          </div>
        </div>
        <div class="pay-btn"> <a id="toPay" class="btn-l"><lang data-id="confirmation_payment"></lang></a> </div>
      </div>
    </div>
  </div>
</div>
<script type="text/html" id="goods_list">
  <div class="sctouch-cart-container">
    <dl class="sctouch-cart-store">
      <% if(cart_list.mansong_rule_list != null && cart_list.mansong_rule_list.desc != null){ %>
      <dd class="store-activity">
        <em><%=lang('full_delivery')%></em>
        <span>&nbsp;满<%=cart_list.mansong_rule_list.mansongrule_price%>送<%=cart_list.mansong_rule_list.mansongrule_discount%><%if (cart_list.mansong_rule_list.goods_image) {%>，送<img src="<%=cart_list.mansong_rule_list.goods_image_url%>"><%}%></span>
      </dd>
      <% } %>
    </dl>
    <% for (var l in cart_list.goods_list) { var v = cart_list.goods_list[l]%>
    <dl class="sctouch-cart-store">
      </dd>
        <% if(v.trade_mode >1){%>
        <dd><%=v.trade_mode_format%></dd>
        <% }%>
    </dl>
    <ul class="sctouch-cart-item">
      <% for (var k in v.goods_info ) { var v1 = v.goods_info[k] %>
      <li class="buy-item">
        <div class="goods-pic">
          <a data-url="../mall/share_product_detail.html?goods_id=<%=v1.goods_id%>" class="goods-url open-url">
            <img src="<%=v1.goods_image_url%>"/>
          </a>

        </div>
        <dl class="goods-info">
          <dt class="goods-name">
            <a data-url="../mall/share_product_detail.html?goods_id=<%=v1.goods_id%>" class="goods-url open-url"><%=v1.goods_name%></a>
          </dt>
        </dl>
          <% if(v1.trade_mode > 1 ){%>
          <div class="goods-subtotal">
              <span class="goods-price"><em><%=v1.clearance_way_format%></em></span>
          </div>
          <% } %>
        <div class="goods-subtotal">
        </div>
        <div class="goods-num">
          <% if(member_type > 1 ){%><span class="goods-price">单价<em>￥<%=v1.goods_marketprice%></em></span><%}else{%><span class="goods-price">单价<em>￥<%=v1.goods_price%></em></span><%}%>,
          <em><%=v1.goods_num%></em><%=lang('piece')%>
        </div>
        <% if (v1.gift_list) { %>
        <%for(var m in v1.gift_list){ var v2 = v1.gift_list[m];%>
        <div class="goods-gift">
          <span><em><%=lang('gift')%></em><%=v2.gift_goodsname%></span>
        </div>
        <%}%>
        <%}%>
        <div class="notransport transportId<%=v1.transport_id%>" style="display:none;"><p><%=lang('shop_tips_two')%></p></div>
        <div class="sctouch-cart-block block-area select-voucher" data-time_goods_id="<%=v1.time_goods_id%>">
            <h3><i class="pay iconfont"></i>优惠券</h3>
            <div class="current-con"><span class="voucher-desc">未选择</span>（<span class="voucher-num">0</span>）</div>
          <i class="icon-arrow iconfont"></i>
        </div>
      </li>
      <% } %>
    </ul>
    <% } %>

    <div class="sctouch-cart-subtotal">
      <% if (cart_list.voucher_info && !isEmpty(cart_list.voucher_info)) { %>
      <dl>
        <dt><%=lang('shop_voucher')%></dt>
        <dd><%=lang('save')%><em id="Voucher<%=k%>"><%=cart_list.voucher_info.voucher_price%></em><%=lang('element')%></dd>
      </dl>
      <% } %>
      <dl>
        <dt class="transport-title"><%=v.transport_title%></dt>
        <dd><%=lang('freight')%> <em id="Freight<%=k%>"><%=address_api ? address_api.content : '?'%></em> <%=lang('element')%></dd>
      </dl>
      <% if(v.trade_mode >1){%>
      <dl class="mui-hidden">
        <dt class="tax-title">总计税额</dt>
        <dd><em id="tax<%=k%>"><%=address_api ? v.tax_total : '?'%></em> <%=lang('element')%></dd>
      </dl>
      <% } %>
      <div class="sctouch-cart-block block-area select-voucher mt2" data-time_goods_id="0">
        <h3><i class="pay iconfont"></i>通用优惠券</h3>
        <div class="current-con"><span class="voucher-desc">未选择</span>（<span class="voucher-num">0</span>）</div>
        <i class="icon-arrow iconfont"></i>
      </div>
      <div class="message">
        <input type="text" placeholder="订单留言：" id="Message<%=k%>">
      </div>
    </div>
</script>
<script type="text/html" id="voucher-list-script">
  <% if (voucher_list && voucher_list.length > 0) { %>
  <% for (var k in voucher_list) { var v = voucher_list[k]; %>
  <li class="ticket-item <% if (v.voucher_state == 1) { %>normal<% }else{ %>invalid<%}%>  voucher-choose"
      data-voucher_id="<%=v.voucher_id%>"
      data-vouchertemplate_id="<%=v.vouchertemplate_id%>"
      data-vouchertemplate_is_common="<%=v.vouchertemplate_is_common%>"
      data-vouchertemplate_allow_superposition="<%=v.vouchertemplate_allow_superposition%>"
      data-time_goods_id="<%=v.time_goods_id%>"
      data-voucher_price="<%=v.voucher_price%>">
    <a >
      <div class="border-left"></div>
      <div class="block-center">
        <div class="ticket-info">
          <div class="bg-ico"></div>
          <% if (v.voucher_state==2) { %>
          <div class="watermark ysy"></div>
          <% } %>
          <% if (v.voucher_state==3 || v.voucher_state==4) { %>
          <div class="watermark ysx"></div>
          <% } %>
          <dl>
            <dt>￥<%= v.voucher_price %></dt>
            <dd><% if (v.voucher_limit) { %><%=lang('full')%><%= v.voucher_limit %><% } %>&nbsp;<% if (v.vouchertemplate_allow_superposition){ %>可叠加<%} else {%>不可叠加<% }%></dd>
          </dl>
        </div>
        <div class="store-info">
          <dl>
            <dd><%=lang('period_of_validity_to')%>：<%= v.voucher_enddate_text %></dd>
            <%if(v.vouchertemplate_is_common == 0){%>
            <dd>指定商品使用</dd>
            <% }else {%>
            <dd>通用券</dd>
            <% } %>
          </dl>
        </div>

        <div class="action">
          立即使用
        </div>

      </div>
      <div class="border-right"></div>
    </a>
  </li>
  <% } %>
  <% } else { %>
  <div class="sctouch-norecord voucher">
    <div class="norecord-ico"><i class="iconfont"></i></div>
    <dl>
      <dt><%=lang('cash_coupon_tips_one')%></dt>
      <dd><%=lang('cash_coupon_tips_two')%></dd>
    </dl>
  </div>
  <% } %>
</script>
<script type="text/html" id="list-address-add-list-script">
  <% for (var i=0; i<address_list.length; i++) { %>
  <% if (trade_mode > 1 && trade_mode != address_list[i].trade_mode) { continue; } %>
  <li <% if (address_id == address_list[i].address_id) { %>class="selected"<% } else {%> style="padding-left:30px" <%} %> data-param="{address_id:'<%=address_list[i].address_id%>',true_name:'<%=address_list[i].address_realname%>',mob_phone:'<%=address_list[i].address_mob_phone%>',area_info:'<%=address_list[i].area_info%>',address:'<%=address_list[i].address_detail%>',area_id:'<%=address_list[i].area_id%>',city_id:'<%=address_list[i].city_id%>'}"> <i></i>
  <dl>
    <dt>
      <% if (address_list[i].store_receive) { %><sub class="is-realname">门店自提</sub><%}%>
      <% if (address_list[i].real_name) { %><sub class="is-realname"><%=address_list[i].trade_mode_text%></sub><%} else {%><sub class="is-realname false"><%=address_list[i].trade_mode_text%></sub><% } %>
      <%=lang('consignee')%>：<span><%=address_list[i].address_realname%></span><span><%=address_list[i].address_mob_phone%></span>
      <% if (address_list[i].address_is_default == 1) { %><sub><%=lang('default')%></sub><% } %>
      <% if (address_id == address_list[i].address_id) { %><sub class="is-realname">默认</sub><% } %>
    </dt>
    <dd>
      <span><%=address_list[i].area_info %>&nbsp;<%=address_list[i].address_detail %></span>
    </dd>
  </dl>
  <div class="handle">
    <span>
      <a class="edit-address" data-index="<%=i%>">
        <i class="edit"></i>编辑
      </a>
    </span>
  </div>
  </li>
  <% } %>
</script>
<script type="text/html" id="invoice-list-script">
  <% if (invoice_list.length > 0) {%>
  <% for (var i=0; i<invoice_list.length; i++) { %>
  <label><i></i>
    <input type="radio" name="invoice" <% if (i==0) {%>checked="checked"<% } %> value="<%=invoice_list[i].invoice_id%>"/>
    <span id="inv_<%=invoice_list[i].invoice_id%>"><%=invoice_list[i].invoice_title%>&nbsp;&nbsp;<%=invoice_list[i].invoice_code%>&nbsp;&nbsp;<%=invoice_list[i].invoice_content%></span>
    <a class="del-invoice" invoice_id="<%=invoice_list[i].invoice_id%>"></a>
  </label>
  <% } %>
  <% } %>
  <label id="invoiceNew"><i></i>
    <input type="radio" name="invoice" <% if (invoice_list.length == 0) { %>checked="checked"<% } %> value="0"/><span><%=lang('add_invoice_contents')%></span>
  </label>
</script>

<script type="text/javascript" src="../js/mui/mui.js?v2.0.11" ></script>
<script>
	<!---->
//	 document.getElementById("returnOK").addEventListener('tap', function() {
//                var btnArray = ['去意已决', '继续购买'];
//                mui.confirm('', '优惠不等人，再考虑一下呗', btnArray, function(e) {
//                    if(e.index==0)
//                    {
//                    	history.back(-1);
//                    }
//                })
//            });

	// document.getElementById("returnClose").addEventListener('tap', function() {
    //             var btnArray = ['确定离开', '继续支付'];
    //             mui.confirm('跳过支付时效后，订单会被取消哦', '确认放弃付款吗？', btnArray, function(e) {
    //                 if(e.index==0)
    //                 {
    //                 	mui.back();
    //                 } else {
    //                     pageChange('../member/order_detail.html', {
    //                     	pay_sn: window.current_pay_sn
    //                     })
    //                 }
    //             })
    //         });
	
	
</script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/config.js?v2.0.11"></script><script type="text/javascript" src="../js/base64.js?v2.0.11"></script>
<script type="text/javascript" src="../js/zepto.min.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/template.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/layer_mobile/layer.js"></script>
<script type="text/javascript" src="../js/common.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/simple-plugin.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/order_payment_common.js?v2.0.11" ></script>
<script type="text/javascript" src="js/buy_step1.js?v2.0.11" ></script>
<script type="text/javascript" src="lang/buy_step1.js?v2.0.11" ></script>
<script type="text/javascript" src="../js/lang.js?v2.0.11" ></script>
</body>
</html>
